/*
 * Ncview by David W. Pierce.  A visual netCDF file viewer.
 * Copyright (C) 1993 through 2009 David W. Pierce
 *
 * This program  is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 3 as 
 * published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License, version 3, for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 * David W. Pierce
 * 6259 Caminito Carrean
 * San Diego, CA   92122
 * pierce@cirrus.ucsd.edu
 */

static int cmap_extrema[] = {
	0,0,255, 2,0,252, 5,0,249, 8,1,246, 11,3,243, 14,9,240, 17,20,237, 19,39,235, 
	22,67,232, 25,105,229, 27,149,227, 30,193,224, 32,229,222, 35,251,219, 37,253,217, 39,238,215, 
	42,208,212, 44,171,210, 46,133,208, 48,99,206, 50,74,204, 53,59,201, 55,54,199, 57,61,197, 
	59,77,195, 61,101,193, 62,130,192, 64,162,190, 66,194,188, 68,221,186, 70,241,184, 72,252,182, 
	73,254,181, 75,246,179, 77,231,177, 78,209,176, 80,184,174, 81,158,173, 83,132,171, 84,109,170, 
	86,89,168, 87,74,167, 88,63,166, 90,56,164, 91,54,163, 92,57,162, 93,63,161, 95,72,159, 
	96,84,158, 97,99,157, 98,116,156, 99,133,155, 100,151,154, 101,169,153, 102,187,152, 103,203,151, 
	104,217,150, 105,229,149, 106,239,148, 107,247,147, 108,252,146, 109,254,145, 110,254,144, 110,253,144, 
	111,249,143, 112,244,142, 113,237,141, 113,229,141, 114,221,140, 115,211,139, 115,202,139, 116,192,138, 
	116,182,138, 117,173,137, 117,163,137, 118,154,136, 118,146,136, 119,137,135, 119,130,135, 120,122,134, 
	120,116,134, 121,109,133, 121,104,133, 121,98,133, 122,93,132, 122,89,132, 122,85,132, 123,81,131, 
	123,78,131, 123,75,131, 124,73,130, 124,70,130, 124,68,130, 124,66,130, 125,65,129, 125,63,129, 
	125,62,129, 125,61,129, 125,60,129, 126,59,128, 126,59,128, 126,58,128, 126,57,128, 126,57,128, 
	126,57,128, 126,56,128, 126,56,128, 126,56,128, 127,56,127, 127,55,127, 127,55,127, 127,55,127, 
	127,55,127, 127,55,127, 127,55,127, 127,55,127, 127,55,127, 127,55,127, 127,55,127, 127,55,127, 
	127,55,127, 127,55,127, 127,55,127, 127,55,127, 127,55,127, 127,55,127, 127,55,127, 127,55,127, 
	127,55,127, 127,55,127, 127,55,127, 127,55,127, 127,55,127, 127,55,127, 127,55,127, 127,55,127, 
	127,55,127, 127,55,127, 127,55,127, 127,55,127, 127,55,127, 127,55,127, 127,55,127, 127,54,127, 
	127,54,127, 127,54,127, 127,54,127, 127,54,127, 127,54,127, 128,54,126, 128,54,126, 128,54,126, 
	128,55,126, 128,55,126, 128,55,126, 128,55,126, 128,55,126, 128,56,126, 129,56,125, 129,57,125, 
	129,57,125, 129,58,125, 129,59,125, 130,60,124, 130,61,124, 130,63,124, 130,64,124, 131,66,123, 
	131,69,123, 131,71,123, 132,74,122, 132,78,122, 132,81,122, 133,85,121, 133,90,121, 133,95,121, 
	134,101,120, 134,107,120, 135,114,119, 135,121,119, 136,129,118, 136,137,118, 137,146,117, 137,155,117, 
	138,165,116, 138,175,116, 139,185,115, 139,196,115, 140,206,114, 141,216,113, 141,225,113, 142,234,112, 
	143,241,111, 144,247,110, 144,252,110, 145,254,109, 146,254,108, 147,252,107, 148,247,106, 149,240,105, 
	150,230,104, 151,218,103, 152,203,102, 153,186,101, 154,169,100, 155,150,99, 156,132,98, 157,114,97, 
	158,97,96, 159,82,95, 161,70,93, 162,61,92, 163,56,91, 164,54,90, 166,58,88, 167,65,87, 
	168,78,86, 170,95,84, 171,116,83, 173,140,81, 174,167,80, 176,193,78, 177,218,77, 179,238,75, 
	181,250,73, 182,255,72, 184,249,70, 186,233,68, 188,209,66, 190,179,64, 192,147,62, 193,115,61, 
	195,88,59, 197,68,57, 199,56,55, 201,55,53, 204,65,50, 206,86,48, 208,116,46, 210,153,44, 
	212,192,42, 215,226,39, 217,249,37, 219,254,35, 222,240,32, 224,209,30, 227,167,27, 229,121,25, 
	232,80,22, 235,48,19, 237,26,17, 240,12,14, 243,5,11, 246,2,8, 249,0,5, 252,0,2};
